package fixtures.test;

import java.io.IOException;
import client.ChatClient;
import fit.ActionFixture;
import p.*;

public class createClass extends ActionFixture 
{
	ClassUI test;
	Global g = new Global(null, test);
	
	public void startCreateClass()
	{
		test = new ClassUI();
		g.chat = new ClientConsole("127.0.0.1",5555);
	}

	public void classId(String class_id) 
	{
		test.TextID.setText(class_id);
	}
	
	public void classPress() 
	{
		test.btnAddClass.doClick();
	}
	
	public boolean addClass()  
	{
		return (Boolean) test.msg;
	}

}